This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
class DarwinVMStatistic | ||||
class, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: Does nothing. | Mac OS Carbon: Does nothing. | Windows: Works. | ||
Function:
Holds information about the current Mac OS X memory status. | ||||
ActivePages as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The total number of pages currently in use and pageable. | ||||
ActivePages as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The hit count. | ||||
CowFaults as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The number of faults that caused a page to be copied (generally caused by copy-on-write faults). | ||||
Faults as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The number of times the "vm_fault" routine has been called. | ||||
FreePages as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The total number of free pages in the system. | ||||
InactivePages as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The total number of pages on the inactive list. | ||||
Lookups as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The count of lookups. | ||||
PageIns as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The number of requests for pages from a pager (such as the inode pager). | ||||
PageOuts as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The number of pages that have been paged out. | ||||
Pagesize as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The size of one memory page in memory. | ||||
Notes:
On PowerPC CPUs, it should be 4096 Bytes. | ||||
Reactivations as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
the total number of pages that have been moved from the inactive list to the active list (reactivated). | ||||
WiredPages as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The total number of pages wired down. That is, pages that cannot be paged out. | ||||
ZeroFillPages as integer | ||||
property, DarwinVMStatistic | So, 7. Jul 2002 | |||
Mac OS Classic: -> 0. | Mac OS Carbon: -> 0. | Windows: Works. | ||
Function:
The total number of pages that have been zero-filled on demand. | ||||
GetDarwinVMStatistics as DarwinVMStatistics | ||||
global method, DarwinVMStatistic | Mo, 15. Jul 2002 | |||
Mac OS Classic: -> nil. | Mac OS Carbon: -> nil. | Windows: Works. | ||
Function:
Returns information about the current memory status on Mac OS X. | ||||
Example:
dim d as DarwinVMStatistics d=getdarwinVMStatistics if d=nil then msgBox "No Darwin running :-(" quit else pageins.text=format(d.pageins,"0") pageouts.text=format(d.pageouts,"0") pagesize.text=format(d.pagesize,"0") freepages.text=format(d.freepages,"0") activepages.text=format(d.activepages,"0") inactivepages.text=format(d.inactivepages,"0") wiredpages.text=format(d.wiredpages,"0") zerofillpages.text=format(d.zerofillpages,"0") reactivations.text=format(d.reactivations,"0") faults.text=format(d.faults,"0") cowfaults.text=format(d.cowfaults,"0") lookups.text=format(d.lookups,"0") hits.text=format(d.hits,"0") end if |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.